package org.journal.dao;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

import org.journal.entity.RecordEntity;

public interface RecordDao extends GenericDAO<RecordEntity, Integer> {

	public RecordEntity getRecordById(int recordId);

	public Integer createRecord(RecordEntity record);

	public List<RecordEntity> getDailyRecordsByDate(Calendar date);

	public List<RecordEntity> getRecordsByDateInterval(Date start_date,
			Date end_date);

}
